package com.example.month11.listview.lv;

import android.content.Context;

import com.example.month11.listview.MultiItemTypeAdapter;

import java.util.List;

public class ChatAdapter extends MultiItemTypeAdapter<ChatMessage> {

    public ChatAdapter(Context context, List<ChatMessage> datas)
    {
        super(context, datas);

        addItemViewDelegate(new MsgSendItemDelagate());
        addItemViewDelegate(new MsgComingItemDelagate());
    }

}
